<div class="layui-col-sm12 layui-col-md8">
    <div class="layui-card layui-form">
        <div class="layui-card-header">最新一月查询记录</div>
        <div class="layui-card-body" style="min-height: 280px;">
            <div id="main1" class="layui-col-sm12" style="height: 300px;"></div>
        </div>
    </div>
</div>


<script src="__PUBLIC__/libs/echarts/4.2.1/echarts.min.js"></script>
<script type="text/javascript">
    // 基于准备好的dom，初始化echarts实例
    var myChart = echarts.init(document.getElementById('main1'));
    // 指定图表的配置项和数据
    var option = {
        grid: {
            top: '5%',
            right: '1%',
            left: '1%',
            bottom: '10%',
            containLabel: true
        },
        tooltip: {
            trigger: 'axis'
        },
        xAxis: {
            type: 'category',
            data: [<?php echo echarts_conv($member_count_this_month_group_result, 'date'); ?>]
        },
        yAxis: {
            type: 'value',
            scale: true
        },
        series: [{
                name: '用户量',
                data: [<?php echo echarts_conv($member_count_this_month_group_result, 'count', 'number'); ?>],
                type: 'line',
                smooth: true
            }]
    };
    // 使用刚指定的配置项和数据显示图表。
    myChart.setOption(option);
    
     
</script>